﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Validation;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;
namespace DTO
{
    public class TUKHOADIADIEMCollection : List<TUKHOADIADIEM>
    { }
    public class TUKHOADIADIEM
    {
        internal TENDIADIEMCollection dsTUKHOADIADIEM;

        internal TENDIADIEMCollection DsTUKHOADIADIEM
        {
            get { return dsTUKHOADIADIEM; }
            set { dsTUKHOADIADIEM = value; }
        }
        private long MaTuKhoaTenDiaDiem;
        public long MATUKHOATENDIADIEM
        {
            get { return MaTuKhoaTenDiaDiem; }
            set { MaTuKhoaTenDiaDiem = value; }
        }
        private String TuKhoaTenDiaDiem;
        [StringLengthValidator(1,500,MessageTemplate="Từ khóa phải có ít nhất 1 ký tự")]
        public String TUKHOATENDIADIEM
        {
            get { return TuKhoaTenDiaDiem; }
            set { TuKhoaTenDiaDiem = value; }
        }
        private long MaTenDiaDiem;

        public long MATENDIADIEM
        {
            get { return MaTenDiaDiem; }
            set { MaTenDiaDiem = value; }
        }
        public TUKHOADIADIEM() { dsTUKHOADIADIEM = new TENDIADIEMCollection(); }

    }
}
